package com.ls.pattern.mediator;

/**
 * @author 挥之以墨
 */
public class ServerChatMediator extends ChatMediator {

    public ServerChatMediator(ChatRoom chatRoom) {
        super(chatRoom);
    }

    @Override
    public void sendMsg2Room(User user, String msg) {
        chatRoom.showMsg(user, msg);
    }
}
